﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Net;
using System.Web;

namespace ComApp
{
    public class HttpUtilityClass : IHttpUtility
    {
        public string UrlEncode(string url)
        {
            return System.Web.HttpUtility.UrlEncode(url);
        }
    }

    public partial class HttpClient
    {
        partial void SetHttpUtility()
        {
            this.HttpUtility = new HttpUtilityClass();
        }
    }
}
